home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13812 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 10 Apr 1996 07:36:21 -0400
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.829136049@schonberg>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.829051685@schonberg> <829066525snz@genesis.demon.co.uk> <dewar.829096975@schonberg> <4kf8k1INN68b@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. Kazimir said
  13.  
  14. "BTW, I checked the Ada POSIX standard too, but that reads like a VCR manual
  15. from 1984.  ;)  heh"
  16.  
  17. Actually, the Ada spec for the corresponding function is absolutely clear.
  18. This is because the strong typing of Ada leaves no doubt as to the 
  19. semantics of exceeding the buffer size, and the called routine knows
  20. the length of the buffer.
  21.  
  22. One problem that I notice a lot of people have is in reading precise
  23. standards. A lot of people actually prefer vague descriptions with a
  24. few examples. Again the issue is one of training. Recently in my 
  25. undergraduate class a student posted a note to the course list
  26. claiming that all books are useless and unreadabe, and that the
  27. only way to learn to program is to see examples.
  28.  
  29. Sigh!
  30.  
  31.